package andy.ham;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

//import android.os.Handler;
//import android.view.Window


public class welcome extends Activity {
	private Handler handler = new Handler();

	@Override
	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
//        NO Title
		//requestWindowFeature(Window.FEATURE_NO_TITLE);
		//getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

		setContentView(R.layout.welcome);
//延时
		handler.postDelayed(new Runnable() {
			@Override
			public void run() {
				Intent intent = new Intent(welcome.this, LifeDiary.class);
				startActivity(intent);
				finish();
			}
		}, 1000);

	}
}
